﻿using System;
using System.Collections.Generic;
using System.Data.SqlTypes;
using System.Linq;
using System.Text;

namespace NewtifyMe.DataTypes
{
    /// <summary>
    /// Defined the possible source of feed
    /// </summary>
    public class FeedSource
    {
        public SqlInt32 IdFeedSource { get; set; }
        public SqlInt32 IdParent { get; set; }
        public SqlString CodFeedSource { get; set; }
        public SqlString Descritption { get; set; }
        public SqlString Url { get; set; }
        public SqlString Image { get; set; }
        public FeedCategory DefautlCategory { get; set; }

        public FeedTotalSkeleton FeedSourceSkeleton { get; set; }

        public SysInformation Info { get; set; }
    }


    public class FeedTotalSkeleton
    {
        public FeedSkeletonItem Language { get; set; }
        public FeedSkeletonItem LastBuild { get; set; }
        public FeedSkeletonItem Item { get; set; }
        public FeedSkeletonItem ItemTitle { get; set; }
        public FeedSkeletonItem ItemLink { get; set; }
        public FeedSkeletonItem ItemCategory { get; set; }
        public FeedSkeletonItem ItemPublicationDate { get; set; }
        public FeedSkeletonItem ItemGuid { get; set; }
        public FeedSkeletonItem ItemDescription { get; set; }
    }


    /// <summary>
    /// Created by Vitor Viana 12.03.2012
    /// 
    /// 
    /// 
    /// </summary>
    public class FeedSkeletonItem
    {
        /// <summary>
        /// 
        /// </summary>
        public SqlInt32 IdSkeleton { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public SqlString CodSkeleton { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public SqlString CodSkeletonPart { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public SqlString ValueHold { get; set; }
        public SqlString Description { get; set; }
        public SqlBoolean IsMultiple { get; set; }
        public SqlString Namespace { get; set; }
        public SqlString Attribute { get; set; }

        public SysInformation Info { get; set; }

    }

}
